<?php
/**
 * Created by PhpStorm.
 * User: EZ
 * Date: 2017/6/19
 * Time: 16:54
 */
namespace Home\Controller;
use Think\Controller;
class LoginOutController extends Controller{
    public function index()
    {
        cookie('auth', null);
        session('uid',null);
        $url = U("login/login");
        header("Location: {$url}");
        exit(0);
    }
}
